<?php

/**
 * Reports main page
 * @package ModuleStatistiques
 * @version 1.0b
 */

session_start();

// Configuration file
include 'configuration.php';
// Functions
include 'inc/functions.php';

// Checking if user is logged in
if (!CheckSession()):
	header('Location: index.php');
	exit();
endif;

// Include all objects
foreach (glob($configuration['webroot'].'objects/*.php') as $class) { include_once $class; }

// ---------- START: HEAD
include $configuration['webroot'].'inc/head.php';
// ---------- END: HEAD

// ---------- START: MENU
include $configuration['webroot'].'inc/menu.php';
// ---------- END: MENU

// ---------- START: BODY ?>

<div id="title" style="background-image:url('css/img/charts.png')">Rapports</div>

<div id="stat-renderer-1" class="statsfield"></div>
<div id="stat-renderer-2" class="statsfield"></div>
<div id="stat-renderer-3" class="statsfield"></div>
<div id="stat-renderer-4" class="statsfield"></div>
<div id="stat-renderer-5" class="statsfield"></div>
<div id="stat-renderer-6" class="statsfield"></div>
<div id="stat-renderer-7" class="statsfield"></div>

<?php

// ---------- END: BODY

// ---------- START: FOOT
include $configuration['webroot'].'inc/foot.php';
// ---------- END: FOOT

// ---------- JAVASCRIPTS AND END
include $configuration['webroot'].'inc/js.php'; ?>
<script type="text/javascript" src="js/reports.js"></script>

</body>
</html>